package com.tianxiabuyi.model.manage;

import com.alibaba.fastjson.annotation.JSONField;
import com.tianxiabuyi.model.base.TXBYObject;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * Created by lujw on 2017/6/7.
 */
@Entity
@Table(name = "hospital_notice_category")
public class HospitalNoticeCategory extends TXBYObject {

    /**
     * 通知类型名
     */
    private String name;

    /**
     * 操作人姓名
     */
    @Column(name = "operator_name")
    @JSONField(name = "operator_name")
    private String operatorName;

    /**
     * 操作人id
     */
    @Column(name = "operator_id")
    @JSONField(name = "operator_id")
    private Integer operatorId;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getOperatorName() {
        return operatorName;
    }

    public void setOperatorName(String operatorName) {
        this.operatorName = operatorName;
    }

    public Integer getOperatorId() {
        return operatorId;
    }

    public void setOperatorId(Integer operatorId) {
        this.operatorId = operatorId;
    }
}
